home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / TECHNICA / COMPUTER / H124.ZIP / DISK2.ZIP / KD_DOC.10 < prev    next >
Text File  |  1990-07-18  |  82KB  |  2,549 lines

  1.  
  2.  
  3.  
  4.  
  5.      ──────────────────────────────────────────
  6.  
  7.      10 - DEFINITIONS
  8.      ──────────────────────────────────────────
  9.  
  10.      Active Layer The active layer is  the  one
  11.      in  which  you are actually drawing and is
  12.      always SCreen 1. The active layer can also
  13.      be  seen  and  may  be  overlaid  with the
  14.      visual layer.
  15.  
  16.      ASCII <F6 T a, A> ASCII text files can  be
  17.      imported  into  a drawing. Position cursor
  18.      to the line you want  the  file  to  start
  19.      displaying at. <a> will stop at the end of
  20.      the screen while <A> will continue to  the
  21.      end of the file. Hit <Esc> to stop.
  22.  
  23.      Animate  <F7  a> <F7 Alt-s> Once an object
  24.      has been copied or erased with <F7> it can
  25.      be  moved  about  on  the  screen. Animate
  26.      allows you to see the object as  it  moves
  27.      to  aid  in  proper  positioning.  Several
  28.      other functions  automatically  switch  to
  29.      the  animation mode to allow proper object
  30.      or text placement. Animation can  also  be
  31.      used with the Key Macro command to jazz up
  32.      slide shows. If the animated area is large
  33.      the  object  will  tend  to flash as it is
  34.      moved. The visual horizon can  be  set  to
  35.      allow  animated objects to disappear below
  36.      the horizon. <Alt-s>mear can also be  used
  37.      to  do  animation over a blank background.
  38.      Figure 10-1 shows a  screen  from  SLIDEMO
  39.      that  uses  <Alt-s>  to animate the manned
  40.      submersible.
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.                                DEFINITIONS 10-1
  49.  
  50.  
  51.  
  52.  
  53.  
  54.       [recov]
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.   Figure  10-1 Submersible Launch and Recov-
  68.   ery using a Motion Compensated Crane.
  69.  
  70.  
  71.   Angle <[>, <]>, <{>, <}>  The  angle  from
  72.   the  cursor to the last measured point is,
  73.   starting  with  verison  3.50,  constantly
  74.   displayed  on  the  prompt line along with
  75.   the distance to the measure point and  the
  76.   x  and  y coordinates. <[> will rotate the
  77.   cursor position  counter-clockwise  around
  78.   the  measure  point using the cursor speed
  79.   step to determine the angle while <]> will
  80.   do  the  same  in a clockwise fashion. <{>
  81.   rotates  counter-clockwise  in  90  degree
  82.   increments,  while  <}> rotates clockwise.
  83.   The above rotation commands  work  anytime
  84.   the  cursor can be moved around the screen
  85.   including during line drawing,  rectangle,
  86.   polygon,  animate,  and smear. Figure 10-2
  87.   shows a  logo  created  with  the  aid  of
  88.   angle.
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.   DEFINITIONS 10-2
  98.  
  99.  
  100.  
  101.  
  102.  
  103.               [logo1]
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.      Figure 10-2 Logo for a letterhead.
  116.  
  117.  
  118.      Arc  <F3  a, A> Arcs are drawn using <F3>.
  119.      First move cursor to center. Then mark the
  120.      radius  and end point followed by the sec-
  121.      ond end point. Arcs are always drawn coun-
  122.      terclockwise. Pie shaped arcs can be drawn
  123.      using <F3 A> and proceeding as with a reg-
  124.      ular  arc.  To  draw an elliptical arc use
  125.      <$> to modify the screen aspect ratio just
  126.      before  selecting  the first end point. Be
  127.      sure to  reset  the  proper  aspect  ratio
  128.      after drawing the arc.
  129.  
  130.      Area  <F1 c> The area of an object and the
  131.      center of  that  area  can  be  calculated
  132.      based  on  the  color set by <F10>. Calcu-
  133.      late works by looking for a color,  so  to
  134.      get  the area of a circle for example, the
  135.      circle must be painted in,  otherwise  you
  136.      are  getting  something closer to the per-
  137.      imeter than the area. Also  see  Mass  and
  138.      Center.
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.                                DEFINITIONS 10-3
  147.  
  148.  
  149.  
  150.  
  151.  
  152.   Arrows <F2 a, Alt-a> Arrows at  45  degree
  153.   increments  and  almost  any  size  can be
  154.   added to the screen. The arrow will  point
  155.   <u>p,   <d>own,   <l>eft,   <r>ight,   <e>
  156.   up-right, <f> down right,  <g>  down-left,
  157.   and  <h>  up-left.  Set  the direction the
  158.   arrow is to point and use <u>p and  <d>own
  159.   to  change  the  size  before  saving  the
  160.   arrow. The amount of size change with each
  161.   <u> or <d> is a function of the <F9> speed
  162.   setting.  Arrow  color  is  determined  by
  163.   <F10>.  <F2  a>  produces an outline of an
  164.   arrow, while <F2 Alt-a> produces a  filled
  165.   in  arrow.  An  arrow  symbol  could as be
  166.   created  with  <F6>  and  rotated  to  any
  167.   angle.
  168.  
  169.   [bspline]
  170.                   B-Spline  <F3  b>  Complex
  171.                   curves can be difficult to
  172.                   draw  with just the cursor
  173.                   keys, but with <F3 b>  you
  174.                   can  let  the program con-
  175.                   nect  the  dots  that  you
  176.                   enter  and  create  smooth
  177.   curves. This is a great feature for those,
  178.   like  myself,  that  are  not artistically
  179.   inclined. It  makes  complex  curves  easy
  180.   from  the  keyboard.  Figure  10-3 shows a
  181.   simple b-spline curve.
  182.  
  183.   Background <F5 b>, <F5 c>,  <F5,  C>,  <B>
  184.   The  screen background color can be set in
  185.   medium resolution mode by using the  space
  186.   bar  to  page  through  the colors and the
  187.   <ENTER> to  fix  the  desired  color.  The
  188.   background can also be set in high resolu-
  189.   tion using <F5 C> and <F5 c>. <B>ackground
  190.   sets  the color that is used for the back-
  191.   ground during many operations.  See  Spray
  192.   paint and Fade for more information.
  193.  
  194.  
  195.   DEFINITIONS 10-4
  196.  
  197.  
  198.  
  199.  
  200.  
  201.      BAS File extension for BASICA program. <F7
  202.      C>opy can save a screen image as a  BASICA
  203.      subroutine  that  can  be merged into your
  204.      own program. This is useful for  including
  205.      logos  or  for  creating graphic game pro-
  206.      grams. See BASICA manual  for  information
  207.      on  merging  programs. The subroutine when
  208.      called will load an array with the data to
  209.      create  the  image. Use the PUT command to
  210.      place the image on the screen.
  211.  
  212.      BASIC is ideal for working  with  graphics
  213.      on  a CGA since it contains just about all
  214.      of the commands you need to manipulate the
  215.      screen   and   graphics.  Other  languages
  216.      require the use of libraries  to  get  the
  217.      graphics   functions  provided  in  BASIC.
  218.      Some insight into the operation of PC-KEY-
  219.      DRAW  is  possible  from the BASIC manual.
  220.      In particular look at  the  graphics  com-
  221.      mands  of  PUT,  GET,  DRAW, LINE, CIRCLE,
  222.      and PSET.
  223.  
  224.      Box <F2 r>, <F2 R>, <F2  Alt-r>,  <F2  s>,
  225.      <F2  S>  A  box  is a rectangle or square.
  226.      Start by positioning one of  the  corners.
  227.      Selecting a <r> will display the rectangle
  228.      as you move the cursor.  Position  box  as
  229.      desired and mark. <R> displays the box and
  230.      it  is  copied  into  <F7>  automatically.
  231.      <Alt-r>  produces a filled in rectangle at
  232.      the color set by  <F10>.  <s>  produces  a
  233.      rectangular  series  of  dots at the color
  234.      set by <F10>  in  light,  medium  or  dark
  235.      shading. <S> functions the same as <R>.
  236.  
  237.      CAMERA A public domain screen capture pro-
  238.      gram is included with PC-KEY-DRAW  to  aid
  239.      capturing  graphics  from  other programs.
  240.      Run CAMERA from DOS, enter program to dis-
  241.      play the desired graphic image, use <Ctrl-
  242.      ALT-Right Shift> to grab screen.
  243.  
  244.                                DEFINITIONS 10-5
  245.  
  246.  
  247.  
  248.  
  249.  
  250.   Center  animated area <C> Centers the ani-
  251.   mated object on the screen.
  252.  
  253.   Center of area <F1 c>, <F1 Alt-c> The cen-
  254.   ter of an area or the center of mass of an
  255.   object can be  calculated.  See  Area  and
  256.   Mass  for  more  information.  Figure 10-4
  257.   shows the results from calculation.
  258.  
  259.       [calc]
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.   Figure 10-4 Center and area  being  calcu-
  273.   lated. The units for the center dimensions
  274.   is inches and for the area square inches.
  275.  
  276.  
  277.   Center of circle <C> The last center of  a
  278.   circle can be located by <C> in the CURSOR
  279.   MODE.
  280.  
  281.   Circle <F3 c> Circles are drawn  by  first
  282.   marking  the center and then the radius of
  283.   the circle. Use <$> to  match  the  screen
  284.   aspect   ratio   of  your  monitor  and/or
  285.   printer. <$> only  effects  circles  drawn
  286.   after  a  change  and  not  already  drawn
  287.   circles. To change a  circle  once  it  is
  288.   drawn use <F1> Flip to compress the screen
  289.   in the appropriate direction.
  290.  
  291.  
  292.  
  293.   DEFINITIONS 10-6
  294.  
  295.  
  296.  
  297.  
  298.  
  299.      Circle  Center  Lines  <F3  Ctrl-c>,   <F3
  300.      Ctrl-e>   Center  lines  for  circles  and
  301.      ellipse are automatically drawn using <F3>
  302.      <Ctrl-c>  or  <Ctrl-e>.  Start  by placing
  303.      cursor at center of circle or ellipse  and
  304.      making selection and then moving cursor to
  305.      desired size and selecting <ENTER>.
  306.  
  307.      Color <F5 c>, <F5 C>,  <F10>  Three  color
  308.      palettes  are  available with three colors
  309.      each plus a  background  color  in  medium
  310.      resolution  from the standard color board.
  311.      <F5 c> will toggle between the  three.  15
  312.      unichrome  colors  are  also  available in
  313.      medium resolution  by  selecting  <C>.  15
  314.      colors  in high resolution are also avail-
  315.      able  with  <c>.  <F10>  will  select  the
  316.      active color from a given palette for use.
  317.      The current  color  is  displayed  on  the
  318.      prompt  line  as  a number to the right of
  319.      the  appropriately   colored   box.   Some
  320.      actions  are color specific. If the action
  321.      does not seem to work it may be  that  the
  322.      color  is  set  wrong.  <F5>  allows color
  323.      mixes for a total of 29  colors  per  pal-
  324.      ette.  With  a composite monitor 16 of the
  325.      color mixes become  distinct  colors.  For
  326.      best results set the color palette to pal-
  327.      ette 0 or 2 (RED GREEN YELLOW).
  328.  
  329.      Configure  <Ctrl-s>  PC-KEY-DRAW  must  be
  330.      configured  to  your particular system and
  331.      desires.  This  is   done   by   selecting
  332.      <Ctrl-s>tatus  from  the  CURSOR  MODE and
  333.      modifying  the  Configuration  Screen   as
  334.      desired.  In particular the disks that you
  335.      have available must be  set.  The  printer
  336.      can  also be configured for zoom printing.
  337.      See Status and Appendix B: for  additional
  338.      information.  The  key  macro  command  is
  339.      ideal for configuring the program to  your
  340.      personal  requirements.  Key macros can be
  341.  
  342.                                DEFINITIONS 10-7
  343.  
  344.  
  345.  
  346.  
  347.  
  348.   called  from  DOS when calling the program
  349.   so that each time you enter PC-KEY-DRAW it
  350.   can  be  set just as you like, beyond what
  351.   is saved in the Status Screen.
  352.  
  353.   Coordinates  PC-KEY-DRAW  was   originally
  354.   intended for CAD work and as such the cur-
  355.   sor position coordinates were always  dis-
  356.   played on the prompt line as the cursor is
  357.   moved. In addition to the x and y  coordi-
  358.   nates  the  distance  to the measure point
  359.   and the angle to the point are  also  dis-
  360.   played.  When using PC-KEY-DRAW as a paint
  361.   program it may not be  desirable  to  have
  362.   the cursor coordinate readout. Use <Alt-q>
  363.   to toggle between display on and off.
  364.  
  365.   Copy <F7 c>, <F7 C>, <F7  Ctrl-c>  Enclose
  366.   area is copied into <F7> buffer to be used
  367.   with smear, move, etc. <C> copies area and
  368.   allows  user  to  save that portion of the
  369.   screen on disk. Enter name of file includ-
  370.   ing  drive.  No extension on the name will
  371.   result in the program adding a PIC. A  FIG
  372.   extension  allows  partial screens or even
  373.   entire screens to be  saved  in  an  ASCII
  374.   file format. Use <F7 o> to get old or pre-
  375.   viously copied areas onto the screen  from
  376.   the  disk.  A  PIC  extension added to the
  377.   name will save the enclosed portion of the
  378.   drawing  in  a format compatible with many
  379.   other graphics  programs  allowing  inter-
  380.   change. The PIC extension is the most com-
  381.   pact on disk and is the default extension.
  382.   A  BAS extension will save the copied area
  383.   as a BASICA subroutine  for  use  in  user
  384.   generated  graphics programs. A FNT exten-
  385.   sion saves the copied area  a  part  of  a
  386.   font  file  under the character specified.
  387.   <Ctrl-c> copies the same size area as last
  388.   copied without enclosing it first.
  389.  
  390.  
  391.   DEFINITIONS 10-8
  392.  
  393.  
  394.  
  395.  
  396.  
  397.      Cursor  <F6 c> Lines can be drawn with the
  398.      cursor. The line color can be  changed  at
  399.      will  during  drawing. Use <F6 e>nd to end
  400.      and save to the screen. The entire  cursor
  401.      key  pad can be used, thus 45 degree lines
  402.      are possible.
  403.  
  404.      CURSOR MODE  Anytime  the  cursor  can  be
  405.      moved  around on the screen using the cur-
  406.      sor keys or a mouse. If no activities  are
  407.      pending the words CURSOR MODE is displayed
  408.      on the prompt line. The  opposite  of  the
  409.      CURSOR  MODE is MENU MODE, when moving the
  410.      cursor keys moves you through a  menu  and
  411.      doesn't move the cursor. If cursor wrap is
  412.      on (default condition), when the cursor is
  413.      moved  off the edge of the screen it wraps
  414.      around to the other  side.  When  off  the
  415.      cursor  will stop at the edge of the draw-
  416.      ing area.
  417.  
  418.      Cursor Type <Alt-c> Three cursor types are
  419.      available and can be readily selected with
  420.      <Alt-c> from the  CURSOR  MODE  or  during
  421.      configuration.  Cursor  0  is  a small dot
  422.      that is the same as early versions. Cursor
  423.      1  is  a  small  arrow  that points to the
  424.      active area. Cursor 2  is  a  full  screen
  425.      cross  hair.  Which cursor you use depends
  426.      on a lot of factors, each has  its  advan-
  427.      tages and disadvantages for a giving draw-
  428.      ing task.
  429.  
  430.      Cursor Wrap  <_>  Prior  to  version  3.50
  431.      when  the  cursor was moved off the screen
  432.      the it would  wrap  around  to  the  other
  433.      side.  Use  <_>  to  turn wrap off so that
  434.      the cursor will stop at the  edge  of  the
  435.      screen  and  not wrap. When wrap is turned
  436.      off a line (_) is displayed under the cur-
  437.      sor speed value.
  438.  
  439.  
  440.                                DEFINITIONS 10-9
  441.  
  442.  
  443.  
  444.  
  445.  
  446.   Customizing  PC-KEY-DRAW  provides  flexi-
  447.   bility  in  customizing  the program to an
  448.   individuals tastes or  needs.  KD-DRAW.TXT
  449.   can be readily modified with any text edi-
  450.   tor to  provide  different  prompts.  Care
  451.   must  be  taken  to conform to the conven-
  452.   tions of the existing file. This is not  a
  453.   task  for the novice. The macro files when
  454.   used in a HOT key file make for  an  ideal
  455.   method  of  customizing PC-KEY-DRAW. Macro
  456.   files for particular uses can  be  created
  457.   and  combined into a HOT key file. Differ-
  458.   ent HOT key files for different tasks  can
  459.   be  kept on disk and called up when needed
  460.   with <Alt-k f>unction key set.
  461.  
  462.   DAT Data file extension  containing  scale
  463.   information  for  full screen saves. These
  464.   files can be  erased  to  gain  more  disk
  465.   space,  but  the  scale for a picture will
  466.   become pixel scaling.
  467.  
  468.   Date <Alt-d> the DOS date can be displayed
  469.   at  the  specified location on the screen.
  470.   (see also Time)
  471.  
  472.   Delete File See Kill.
  473.  
  474.   Delete Lines <F7 Alt-l>  Horizontal  lines
  475.   can  be  deleted from the cursor position.
  476.   The number of lines that will  be  deleted
  477.   is  dependent  on the cursor speed setting
  478.   as shown on the prompt line.
  479.  
  480.   Direct Coordinate Entry <x> the  x  and  y
  481.   coordinates  can  be  entered  directly if
  482.   desired. Direct coordinate  entry  can  be
  483.   used  from the CURSOR MODE or while in one
  484.   of the main menus.
  485.  
  486.  
  487.  
  488.  
  489.   DEFINITIONS 10-10
  490.  
  491.  
  492.  
  493.  
  494.  
  495.      Directory <F8 d #>, <F6 o #>,  <F6  E  #>,
  496.      <F6  T a #>, <F7 o #>, <F7 C #>, <F8 o #>,
  497.      <F8 Ctrl-o>, <F8 Alt-o>,  <F8  s  #>,  <F1
  498.      Ctrl-z  o  #>,  <Alt-k  r  #>, <Alt-k c #>
  499.      Where "#" is the drive letter to  see  the
  500.      directory  of. The complete disk directory
  501.      for any drive is found with  <F8  d>  fol-
  502.      lowed by a single drive letter or complete
  503.      drive\path specification. If <=>  is  used
  504.      ahead  of  the  drive\path  the drive\path
  505.      will be kept as the default for saving and
  506.      loading  the various files. Partial direc-
  507.      tories can  be  obtained  with  the  other
  508.      listed  functions  by  entering  the drive
  509.      followed by a <ENTER> when asked for  file
  510.      name.  Only  those files that pertain to a
  511.      given directive will be shown. To be  able
  512.      to use the partial directory capability be
  513.      sure to let the program add  the  required
  514.      extension.  The  extension  names are con-
  515.      tained in KD-DRAW.TXT and can  be  changed
  516.      if desired to avoid conflicting with other
  517.      programs.
  518.  
  519.      Disable Workspace Set the update frequency
  520.      to  0 to disable the updating of the work-
  521.      space. This can be used  for  macros  when
  522.      space is not available for a workspace, or
  523.      when a workspace is not desired.
  524.  
  525.      Display <F8 Alt-o> screens can  be  loaded
  526.      in  1  of 5 display forms for use in slide
  527.      shows.
  528.  
  529.          1. Fade In 
  530.          2. Pull Down
  531.          3. Pull Up
  532.          4. Pull Left
  533.          5. Pull Right
  534.  
  535.  
  536.  
  537.  
  538.                               DEFINITIONS 10-11
  539.  
  540.  
  541.  
  542.  
  543.  
  544.   Dot <F6 d> Single pixel dots are placed by
  545.   marking the correct spot with  a  <ENTER>.
  546.   <F10> determines the color of the dot. The
  547.   dot can also be made as large  as  desired
  548.   using  the  width  command from the CURSOR
  549.   MODE.
  550.  
  551.   Down <F6 T d>  To  place  text  vertically
  552.   and running down the screen use <F6 T d>.
  553.  
  554.   Edge Detection See Image Processing.
  555.  
  556.   Ellipse  <F3  e>  As with circles and arcs
  557.   the ellipse is drawn by first marking  its
  558.   center. The horizontal radius and vertical
  559.   radius must also be marked. The radius  is
  560.   marked  by moving the cursor keys over and
  561.   up.
  562.  
  563.   End <F6 e>, <F6 E> With the  exception  of
  564.   text, all functions in <F6> must be ended.
  565.   If a line drawing is ended  with  <E>  the
  566.   drawing  is  saved  as  a vector for later
  567.   use. See Line.
  568.  
  569.   Erase <F7 e>,  <F7  E>,  <F7  Alt-e>,  <F7
  570.   Ctrl-e>  To  erase an area enclose it in a
  571.   box as with copy. With <e> the  area  will
  572.   be erased and saved to the <F7> buffer for
  573.   use with move, animate, etc. With  <Alt-e>
  574.   the area is erased but not saved. <Ctrl-e>
  575.   will  erase  a  circular  portion  of  the
  576.   screen.  <E>  erases  an area and switches
  577.   to animate mode to allow  quick  and  easy
  578.   movement of a portion of a screen.
  579.  
  580.   Exit  <F1-F8  n>; <F8 e> A function can be
  581.   exited with <n>,  <Esc>,  </>,  or  <Space
  582.   Bar>.  The  program  is exited to DOS with
  583.   <F8 e>.
  584.  
  585.  
  586.  
  587.   DEFINITIONS 10-12
  588.  
  589.  
  590.  
  591.  
  592.  
  593.      Extension File extensions for the  various
  594.      files  used  by PC-KEY-DRAW have been pre-
  595.      defined,  however  they  can   be   easily
  596.      changed  to what ever you prefer, by edit-
  597.      ing the file  KD-DRAW.TXT  with  any  text
  598.      editor. This manual assumes they have been
  599.      kept as originally defined. See  the  Sec-
  600.      tion on Libraries for more information.
  601.  
  602.      Fade  <F4  f>,  <F4  Alt-f> Objects can be
  603.      faded to the background by color using <f>
  604.      or all colors can be faded using <Alt-f>.
  605.  
  606.      Fatbits  <F1 Ctrl-z> editing of screens at
  607.      the pixel  level  is  possible  using  <F1
  608.      Ctrl-z>.  Enclosed  area  to  be edited in
  609.      fixed sized box. If you want to  edited  a
  610.      larger  area select <Ctrl-z> a second time
  611.      to display 8 boxes in high resolution or 4
  612.      boxes in medium resolution. Select <ENTER>
  613.      to reach the editing stage. Set the  color
  614.      of each individual pixel by specifying the
  615.      appropriate number (0,1,2,3). Use  <t>race
  616.      to  draw  by  selecting  <t>  and then the
  617.      color to be used. Selecting <t>  a  second
  618.      time  turns off the trace. Use <Ctrl-PgUp>
  619.      and <Ctrl-PgDn> to move  through  multiple
  620.      screens.   Use  <Esc>  to  exit.  Starting
  621.      with version 3.50 Fatbits has been signif-
  622.      icantly improved to provide greater flexi-
  623.      bility in editing by  providing  a  scroll
  624.      feature  and  eliminating the need for the
  625.      multiple page approach which is retain for
  626.      backward  compatibility only. Scrolling is
  627.      activated with <Alt-s>croll,  after  which
  628.      the  cursor  keys  or  mouse will move the
  629.      screen window in the  direction  selected.
  630.      It  is  possible to scroll over the entire
  631.      screen. <Alt-s> a second  time  will  turn
  632.      scrolling  off.  Trace  can  be  used with
  633.      scroll. Upon exiting the area  covered  is
  634.      copied and available in <F7>.
  635.  
  636.                               DEFINITIONS 10-13
  637.  
  638.  
  639.  
  640.  
  641.  
  642.   FIG Figures-see Copy. File is saved in  an
  643.   ASCII format.
  644.  
  645.   Fill  <F5 f>, <F5 Alt-f> Areas that can be
  646.   painted can be filled instead. The program
  647.   comes  with  64  patterns  on KD-PTRN.PIC.
  648.   These patterns can be changed or  modified
  649.   as desired and resaved (see section for F7
  650.   for handling PIC  files).  <Alt-f>  allows
  651.   any  PIC  file to be called in to act as a
  652.   pattern file. The file called becomes  the
  653.   default (until program is exited) and will
  654.   be used the next time <F5 f> is called.
  655.  
  656.   Fillet <F3  f>  Automatic  fillets  to  90
  657.   degree  corners  are  created by drawing a
  658.   box around corner to set the radius.
  659.  
  660.   Flip <F1 f>, <F1 F> Flip has a variety  of
  661.   uses.  Think  of it as rotating the screen
  662.   through an angle. This can be used to com-
  663.   press  the image and is useful in matching
  664.   completed screen to printer. <f>  is  used
  665.   to flip a portion of the screen, while <F>
  666.   is used to flip the entire screen.
  667.  
  668.   FNT Font file. This ending must be  speci-
  669.   fied to save part of a screen as a font. A
  670.   single  file  contains  all  of  the  font
  671.   information for the specified characters.
  672.  
  673.          [softnow]
  674.  
  675.  
  676.  
  677.  
  678.  
  679.   Figure  10-5 3-dimensional text created by
  680.   modifing one of the alternate  text  fonts
  681.   supplied with PC-KEY-DRAW.
  682.  
  683.  
  684.  
  685.   DEFINITIONS 10-14
  686.  
  687.  
  688.  
  689.  
  690.  
  691.      Fonts  Two  standard  fonts are built into
  692.      the program. Which one is used depends  on
  693.      which  mode  the  program  is operating in
  694.      (high or medium resolution). The  standard
  695.      text  fonts are retrieved with <F6 t>, <F6
  696.      T>, <F6 Ctrl-t>. Alternate text fonts  can
  697.      be  created, saved and recalled. The fonts
  698.      can be created using any and  all  of  the
  699.      program  functions. To save a font use <F7
  700.      C>opy to copy each  individual  letter.  A
  701.      given  font  should  be  saved to the same
  702.      file with  an  FNT  extension.  Fonts  are
  703.      recalled as needed with <F6 Alt-t> by typ-
  704.      ing in the text and specifying the font to
  705.      use. Figure 10-6 shows what can be done in
  706.      minutes using the four supplied fonts com-
  707.      bined  with  other  program functions. The
  708.      "CREATE-A-FONT" title was done in  several
  709.      steps,    including   <F7   S>   and   <F1
  710.      Ctrl-s>lide. Italics  are  easily  created
  711.      using  <F1  s>lide  and  a step of 15. <F1
  712.      z>oom allows you  to  set  the  number  of
  713.      steps in a zoom to produce the "ZOOM STEP"
  714.      text. Library Disk #3  contains  14  addi-
  715.      tional  text fonts along with several very
  716.      useful macros for creating BOLD, 3-D text,
  717.      outlined  text  and  overlaid text quickly
  718.      and easily from any of the text fonts.
  719.  
  720.          [create]
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.      Figure 10-6 Simple font modifications.
  733.  
  734.                               DEFINITIONS 10-15
  735.  
  736.  
  737.  
  738.  
  739.  
  740.   Freehand  drawing <F6 c> While there are a
  741.   variety of methods that can be used in the
  742.   program  to  do freehand drawing, the most
  743.   common is to set the cursor to  continuous
  744.   with  <F6  c>  and to draw with the cursor
  745.   keys or a mouse. The color of the line can
  746.   be  set  with  F10  and the drawing can be
  747.   temporarily suspended with a  <Space  Bar>
  748.   or  second  mouse key, then restarted with
  749.   an <ENTER> or the first mouse button.  <F6
  750.   c>ursor  acts  in  much the same way as an
  751.   Etch-A-Sketch and as such has some limita-
  752.   tion.  <F6  l>ine  is the preferred method
  753.   of drawing lines, since the width  can  be
  754.   set  and  the  <Backspace>  can be used to
  755.   back up and correct mistakes. Both  <l>ine
  756.   and <c>ursor must be ended by returning to
  757.   <F6> and <e>nding.
  758.  
  759.   FUN Computer graphics are  not  only  very
  760.   useful, but can be a whole lot of fun.
  761.  
  762.   GRAPHICS  To print a screen on most print-
  763.   ers,  GRAPHICS.COM  must  be  run   first.
  764.   GRAPHICS.COM  comes  with  all versions of
  765.   DOS and can be part  of  an  AUTOEXEC.BAT,
  766.   KD.BAT  or  run  directly  from  DOS. With
  767.   GRAPHICS loaded a <Shft-PrtSc>  will  send
  768.   the screen image to the printer.
  769.  
  770.   GRAFTABL  When  in  the graphics mode of a
  771.   CGA, ASCII values greater than 127 are not
  772.   defined  by  default. GRAFTABL is supplied
  773.   with DOS 3.* to define the  ASCII  charac-
  774.   ters  above  127  as the same as what they
  775.   would be in a text mode. Load GRAFTABL  as
  776.   part of your AUTOEXEC.BAT to use the ASCII
  777.   characters 128 to 255. It is also possible
  778.   to define your own set of high bit charac-
  779.   ters.
  780.  
  781.  
  782.  
  783.   DEFINITIONS 10-16
  784.  
  785.  
  786.  
  787.  
  788.  
  789.      Grid <g>, <Ctrl-g>, <Alt-g> A grid made of
  790.      dots  can  be  placed  or removed with <g>
  791.      from the CURSOR MODE. A grid made of lines
  792.      is  placed with <Alt-g>. Version 3.50 adds
  793.      a third grid type with <Ctrl-g>, that pro-
  794.      vides lines that are XORed with the screen
  795.      for easier view of what is under the grid.
  796.      The  user must specify the spacing between
  797.      grid points. The color of grid is  set  by
  798.      the  current  active  color  when  <g>  or
  799.      <Alt-g> are selected. The grids reside  on
  800.      a separate layer and do not become part of
  801.      the drawing.
  802.  
  803.      Grid Jump  <Ctrl-Right  Arrow>  <Ctrl-Left
  804.      Arrow> When using the keyboard to move the
  805.      cursor <Ctrl-Right Arrow> will jump to the
  806.      nearest  grid  point  to  the right, while
  807.      <Ctrl-Left Arrow> will jump to the nearest
  808.      grid point to the left of the current cur-
  809.      sor position.
  810.  
  811.      Help <h>, <H> Help information  is  avail-
  812.      able  in  the CURSOR MODE or when entering
  813.      any function. Selecting <?>,  <h>  or  <H>
  814.      the  first time will turn on the pull down
  815.      menus. Selecting <h>elp a second time will
  816.      display a disk file as appropriate for the
  817.      section you are in. <H> or <?> is used  to
  818.      turn off the pull down menus from the CUR-
  819.      SOR MODE. Help is available from the  CUR-
  820.      SOR  MODE or anytime the menu is displayed
  821.      on the prompt line. Selecting  help  while
  822.      in the PAN mode (<Ctrl-Home>) will display
  823.      a map of the current page in  relation  to
  824.      the 64 pages.
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.                               DEFINITIONS 10-17
  833.  
  834.  
  835.  
  836.  
  837.  
  838.   Hot Keys  <Shft-F1  to  F8>,  <Ctrl-F1  to
  839.   F10>,  <Alt-F1  to  F9> 27 hot keys can be
  840.   defined to customize PC-KEY-DRAW  to  your
  841.   own   personal   needs  and  desires.  KD-
  842.   DRAW.HOT contains the names of key  macros
  843.   (previously  created)  that  are activated
  844.   with one of the hot keys. The name of  the
  845.   HOT  key  file  to  use is set with <Alt-k
  846.   f>unction.  The  default   name   is   KD-
  847.   DRAW.HOT,  but  as  many  HOT key files as
  848.   desired can be created and kept  on  disk.
  849.   HOT  key  files  may consist only of macro
  850.   names associated with  the  HOT  keys,  so
  851.   that the particular file is called and run
  852.   when its HOT  key  is  selected.  HOT  key
  853.   files  can  also  be compiled with MAKHOT-
  854.   LIB.EXE  to  create  a  single  file  that
  855.   includes both the function key definitions
  856.   and the macros  themselves.  Compiled  HOT
  857.   key  files have a great advantage in mini-
  858.   mizing the disk space required for macros.
  859.  
  860.       [imagepro]
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.   Figure 10-7 Basic image processing is pos-
  874.   sible  with PC-KEY-DRAW. A digitized image
  875.   in original form is shown along with  pro-
  876.   cessing   for  vertical  edge,  horizontal
  877.   edge, and both edge enhancement.
  878.  
  879.  
  880.  
  881.   DEFINITIONS 10-18
  882.  
  883.  
  884.  
  885.  
  886.  
  887.      Image Processing Basic image processing is
  888.      possible  on  digitized or scanned images.
  889.      Figure 10-7 shows a  sample  picture  with
  890.      vertical  edge,  horizontal edge, and both
  891.      edge enhancement/detection. Edge detection
  892.      is  accomplished with the aid of <F7 c>opy
  893.      and <F7 m>. For vertical  edge  detection,
  894.      copy the image, move one pixel to the left
  895.      and move the image in place. For  horizon-
  896.      tal  edge  detection  start  with  a clean
  897.      image, copy  the  image,  move  one  pixel
  898.      down, and move the image in place.
  899.  
  900.      Insert line <F7 l> Horizontal lines can be
  901.      inserted at the cursor position. The  num-
  902.      ber of lines inserted is determined by the
  903.      setting of the cursor speed, as  displayed
  904.      on  the prompt line. Inserting a line sim-
  905.      ply puts space at the cursor position.
  906.  
  907.      Isometric Drawing <i> Toggles the  isomet-
  908.      ric  drawing mode. When activated the cur-
  909.      sor moves at  a  30  or  60  degree  angle
  910.      instead  of a 45 degree angle. Circles are
  911.      also  adjusted  accordingly.  Figure  10-8
  912.      shows  a  drawing made with the aid of the
  913.      isometric mode.
  914.  
  915.          [table]
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.      Figure  10-8  Drawing  made  in  isometric
  928.      mode.
  929.  
  930.                               DEFINITIONS 10-19
  931.  
  932.  
  933.  
  934.  
  935.  
  936.   Joystick Any standard joystick can be used
  937.   with version 3.50 or later of PC-KEY-DRAW.
  938.   All references to mice also apply to  joy-
  939.   sticks.
  940.  
  941.   Jump  <j>  The joystick and mouse sensiti-
  942.   vity is set by the <j>ump factor.  A  sen-
  943.   sitivity  number of 5 seems to be good for
  944.   a mouse, while 10 works well with  a  joy-
  945.   stick.  The  jump  factor  can be saved to
  946.   disk with <Ctrl-s Ctrl-s>.
  947.  
  948.   Jump <Ctrl-J>, <Alt-#> Where # is a number
  949.   from  0  to  9  inclusive. Allows a screen
  950.   position to be set and  remembered.  First
  951.   position  the  cursor  as  desired, select
  952.   <Ctrl-j>ump  or  <Ctrl-ENTER>   and   then
  953.   <Alt-#>  where  # is a number from 0 to 9.
  954.   The screen positioned is now remembered on
  955.   disk  for  future  use. At any time select
  956.   <Alt-#> to jump to the remembered position
  957.   instantly.  For  compatibility  with  past
  958.   versions keep <Alt-1> as  0,0.  (Top  left
  959.   corner)  KD-DRAW.JMP  is created the first
  960.   time a jump position is set.
  961.  
  962.   KD-TRANS.EXE (PC-KEY-DRAW  macro  TRANSla-
  963.   tor)  provides  easier  editing  of  macro
  964.   files by translating keystroke codes  into
  965.   the  names  of the keystrokes. While MaCRo
  966.   files can be  edited  directly  with  many
  967.   text editors, it is easier to first trans-
  968.   late the MaCRo file to a TeXT file.  After
  969.   editing use KD-TRANS.EXE to translate back
  970.   to a  MaCRo  file.  KD-TRANS.EXE  must  be
  971.   called from DOS.
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.   DEFINITIONS 10-20
  980.  
  981.  
  982.  
  983.  
  984.  
  985.      Keep  <k>  While  putting  a box around an
  986.      object or drawing a circle the drawing  is
  987.      modified  by  the box. When the <ENTER> is
  988.      hit to complete  the  box  the  screen  is
  989.      first  restored  and then the action takes
  990.      place. Sometimes the effect is  desirable.
  991.      While  in  the  CURSOR  MODE selecting <k>
  992.      keeps the drawing as it is  seen  at  that
  993.      moment. Using <k> will also keep the grid,
  994.      help screen, or layer and should  be  used
  995.      with care.
  996.  
  997.      Key  Macro <Alt-k> This is a very powerful
  998.      feature of Version 3 and  potentially  the
  999.      most  useful.  I have yet to fully examine
  1000.      all of the uses, but  they  include  at  a
  1001.      minimum,  macros,  slide shows with anima-
  1002.      tion, drawing  saves,  program  customiza-
  1003.      tion.   Several   commands  such  as  <*>,
  1004.      <Alt-v>isual   horizon,    <Alt-1>,    and
  1005.      <Alt-p>ause  have  been added specifically
  1006.      for use with key macros. The demo/tutorial
  1007.      supplied  with  the program is a sample of
  1008.      using a key macro as a slide  show.  Basi-
  1009.      cally,  what a key macro does is to remem-
  1010.      ber every key stroke  that  you  make  and
  1011.      save  them to an ASCII sequential file for
  1012.      later retrieval. The file  that  is  saved
  1013.      consists  of  the key stroke code followed
  1014.      by the number of times the key is  struck.
  1015.      The  files  produced  are  very  small and
  1016.      offer the maximum use of disk space. A Key
  1017.      Macro  is  started  by  selecting  <Alt-k>
  1018.      while in the CURSOR MODE and  assigning  a
  1019.      name  to  a file to be created. Everything
  1020.      after this is recorded  until  <Alt-k>  is
  1021.      selected  a second time. Selecting <Alt-k>
  1022.      a third time allows  the  just  saved  key
  1023.      macro  to  be run. (See the section on the
  1024.      Key Macro command)
  1025.  
  1026.  
  1027.  
  1028.                               DEFINITIONS 10-21
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.   Kill  <F8 k) Unwanted files can be removed
  1035.   from a disk by using kill  and  specifying
  1036.   the  complete  name  including  the  drive
  1037.   designation.
  1038.  
  1039.   Layers <l>, <L>, <Ctrl-l>, <Alt-l>  Up  to
  1040.   64  layers  or overlays can be used to aid
  1041.   in  creating  drawings.  Layers   can   be
  1042.   thought  of  as  drawing  on clear sheets.
  1043.   Only the active  layer  is  modified,  but
  1044.   other  layers can be visual if desired. It
  1045.   takes about 1 meg. of memory to handle  64
  1046.   layers so it is only practical with a hard
  1047.   disk or better yet a RAM  disk.  (See  RAM
  1048.   Disk)  When layers are active scrolling of
  1049.   1/2 pages is disabled. Use <Alt-l> to com-
  1050.   pletely turn off layers.
  1051.  
  1052.   Lines  <F6  l>  Lines are drawn by marking
  1053.   successive end  points  with  <ENTER>.  As
  1054.   the  line  is  drawn, its length and angle
  1055.   are displayed on the  prompt  line.  Lines
  1056.   are  used  to generate vector objects that
  1057.   can be saved and retrieved at a later time
  1058.   at  any angle or scale. <F6 e>nd will save
  1059.   the line to the screen only. <F6 E>nd will
  1060.   save  the line to the screen and to a user
  1061.   specified file as a vector. The object  is
  1062.   saved  with  scaling  so  that  when it is
  1063.   recalled it can be matched to the scale of
  1064.   the  drawing in progress. Vectors are use-
  1065.   ful for flow chart symbols, or  for  other
  1066.   commonly used line objects where scale and
  1067.   angle are important. Use the  <SPACE  BAR>
  1068.   to  temporarily  suspend  line drawing and
  1069.   the <Back Space> to  back  up.  Width  and
  1070.   color  can  be  set  as desired. Lines can
  1071.   also be drawn with <F6 c>ursor.  See  Cur-
  1072.   sor for more information.
  1073.  
  1074.  
  1075.  
  1076.  
  1077.   DEFINITIONS 10-22
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.      Macros  <Alt-k>  Keystroke  macros  can be
  1084.      <c>reated or  <r>un.  A  macro  saves  the
  1085.      keystrokes  entered  in  the program while
  1086.      during  macro  creation.  The  saved  key-
  1087.      strokes  can  then  be played back. Macros
  1088.      can  be  used   to   automate   frequently
  1089.      repeated   keystrokes,  used  to  save  an
  1090.      entire drawing or used to  create  a  self
  1091.      running  slide show demo. <Alt-k f>unction
  1092.      lets you change which HOT key file is used
  1093.      to define the function keys.
  1094.  
  1095.      MAKHOTLIB.EXE  (MAKe  HOT key LIBrary) HOT
  1096.      key files can be compiled  (libraried)  to
  1097.      include  all  of the various macros called
  1098.      in the HOT key  file.  MAKHOTLIB.EXE  must
  1099.      be  run  from  DOS. It will create a blank
  1100.      KD-DRAW.HOT if one is  not  found  in  the
  1101.      current  directory.  The  file can then be
  1102.      edited, with a standard  text  editor,  to
  1103.      add  the names of macros to be called when
  1104.      a function key  is  selected.  If  MAKHOT-
  1105.      LIB.EXE is run when KD-DRAW.HOT exists, it
  1106.      will compile the file by combining it with
  1107.      all of the macro files that it can find in
  1108.      the current directory. Use unlibraried HOT
  1109.      key  files  for testing and libraried/com-
  1110.      piled  HOT  key  files  for  distribution.
  1111.  
  1112.      Mass  <F1 C> The mass of an object and the
  1113.      center of mass can be calculated based  on
  1114.      user  supplied density parameters for each
  1115.      color. See Area and Center.
  1116.  
  1117.      MCR macro file extension.
  1118.  
  1119.      Measure <m>,  <M>,  <Alt-m>  the  distance
  1120.      between  two  points  can  be  measured by
  1121.      marking one end with a <m> and moving  the
  1122.      cursor  to  the second point. The distance
  1123.      is displayed on the prompt  line.  Measure
  1124.      is  always  active and gives the radius of
  1125.  
  1126.                               DEFINITIONS 10-23
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.   circles,  the dimensions of boxes, and the
  1133.   length of lines. <M> moves the  cursor  to
  1134.   the  last  measured  point.  (See  Scale).
  1135.   <Alt-m> allows you to set the scale on the
  1136.   fly.  First  mark  a  point  with <m> then
  1137.   move a known  distance  and  with  <Alt-m>
  1138.   tell PC-KEY-DRAW what that distance is.
  1139.  
  1140.   Menu  <Space>, <F1 to F8> PC-KEY-DRAW pro-
  1141.   vides two basic methods of entering a com-
  1142.   mand.  The command can be entered directly
  1143.   for fastest operation or selected  from  a
  1144.   menu. Version 3.50 provides full menu sup-
  1145.   port for nearly every  command  available.
  1146.   Menus  can  be  supplemented by turning on
  1147.   the help menu in the top  left  corner  of
  1148.   the  screen.  To  enter  the  primary menu
  1149.   select <Space> then  move  thru  the  menu
  1150.   with  the  cursor  keys.  When the desired
  1151.   function is displayed hit <ENTER> to  move
  1152.   to  the  next  menu, then move through the
  1153.   menu with the cursor keys to highlight the
  1154.   desired  function  and  hit enter to start
  1155.   that  function.  Any  menu  item  can   be
  1156.   reached  directly  by  hitting  the  high-
  1157.   lighted key combination directly. Remember
  1158.   lowercase,  uppercase,  control and alter-
  1159.   nate have a somewhat different effect  for
  1160.   each  command.  In  the  menu the need for
  1161.   shift is displayed  with  a  "S",  control
  1162.   with "C", and alternate with "A".
  1163.  
  1164.   Merge  <F7  m>  Two  screens can be merged
  1165.   together as one.  Start  by  loading  <F10
  1166.   o>ld the first screen into either SCreen 1
  1167.   or SCreen 2. Switch to SCreen F7 and  load
  1168.   the  screen  to  be merged. Switch back to
  1169.   the first screen and put the cursor in the
  1170.   top  left  hand  corner.  Select <F7> then
  1171.   <m>,  <M>  or  <Ctrl-m>  for  the  desired
  1172.   result.
  1173.  
  1174.  
  1175.   DEFINITIONS 10-24
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.      Mirror  <F1 m>, <F1 M> Objects can be mir-
  1182.      rored using <m>. The entire screen can  be
  1183.      mirrored either horizontally or vertically
  1184.      with  <M>.  Figure  10-9  shows  a  screen
  1185.      that  was created by a macro that mirrored
  1186.      horizontally,  then  vertically  and  then
  1187.      called  itself  and let run on GIRL.SCN. A
  1188.      mirrored JOES was added and that was it.
  1189.  
  1190.          [injoes]
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.      Figure 10-9 Bar scene at Joes create by  a
  1204.      recursive macro using only <F1 m>.
  1205.  
  1206.  
  1207.      Mode  <Shft-Tab>, <Alt-r> Two screen modes
  1208.      are available. Mode 2 is the high  resolu-
  1209.      tion  mode  (640X200)  and  mode  1 is the
  1210.      medium and color mode. (320X200)  You  can
  1211.      readily  switch between the two to achieve
  1212.      desired results. Virtually  all  of  func-
  1213.      tions  available  in  the  color  mode are
  1214.      available in  the  high  resolution  mode.
  1215.      Each mode has its advantages for different
  1216.      applications and systems.  Sometimes  when
  1217.      an  object is copied with <F7> in one mode
  1218.      and moved into  another  mode  the  object
  1219.      will  be  distorted.  Use  <@>  to adjust.
  1220.      <Alt-r> forces the  screen  mode  to  high
  1221.      resolution.
  1222.  
  1223.  
  1224.                               DEFINITIONS 10-25
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.   Modify <F5 m>, <F5 M>,  <F5  Ctrl-m>,  <F5
  1231.   Alt-m>  Painted  areas  can  be changed or
  1232.   modified to produce additional colors. Set
  1233.   <F10>  to  the  color  you wish to modify.
  1234.   Select <F5 m> and define  object  in  box.
  1235.   <M> operates on the entire screen. Set the
  1236.   new  color  to  any  of  the  29   colors.
  1237.   <Alt-m> allows the 29 colors to be changed
  1238.   to one of the other  29  colors.  <Ctrl-m>
  1239.   operates  as  <Alt-m>,  but  on the entire
  1240.   screen. A file called KD-PAINT.PIC  is  on
  1241.   the  program  disk  and can be viewed with
  1242.   <F7 o>. It contains the color bar that  is
  1243.   shown  on  the  screen  during  modify and
  1244.   paint.
  1245.  
  1246.   Money How did you get this?  If  you  have
  1247.   purchased  PC-KEY-DRAW  from  Ed Kidera of
  1248.   OEDWARE then thank you very much!!, but if
  1249.   you  are  using a copy and have not regis-
  1250.   tered, please take some time  and  do  so.
  1251.   Isn't  this  worth the registration price?
  1252.   See the section on libraries for a way for
  1253.   you to save some cash or even make some.
  1254.  
  1255.   Mouse  Mode Pull down function and command
  1256.   menus can be used either with or without a
  1257.   mouse.  When  used  with a mouse the mouse
  1258.   can be used to  click  on  a  function  to
  1259.   select  it,  as  with  many other graphics
  1260.   programs, but this is a slow and silly way
  1261.   to  run  any graphics program. PC-KEY-DRAW
  1262.   provides a much  easier  way  of  using  a
  1263.   mouse,  by allowing the menu to be brought
  1264.   in with the click of button two. Once in a
  1265.   function  select mode, the cursor movement
  1266.   will move you through  the  menu  and  not
  1267.   around  the screen. Use button 1 to make a
  1268.   selection and return to CURSOR  MODE.  See
  1269.   the  Hardware section for more information
  1270.   on the mouse. Also see Chapter 3.
  1271.  
  1272.  
  1273.   DEFINITIONS 10-26
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.      Move <F7 m>,  <F7  M>,  <F7  Ctrl-m>,  <F7
  1280.      Alt-m>  Previously  copied or erased areas
  1281.      can be moved to a new location.  Use  ani-
  1282.      mate  to aid in positioning. The four dif-
  1283.      ferent syntaxes of move will produce  dif-
  1284.      ferent  results.  The  correct  one to use
  1285.      depends on the desired result.  Experiment
  1286.      with  the  different  moves  to  learn and
  1287.      understand  the  results.  The   following
  1288.      table  applies  to  smear and replicate as
  1289.      well:
  1290.  
  1291.           Command      Logical    Effect
  1292.           -------      -------    ------
  1293.                 m       XOR        Mixed
  1294.            Shft m       OR         With
  1295.            Ctrl-m       AND        Over
  1296.             Alt-m       PSET       Replace
  1297.  
  1298.      Use move after <F7 a>nimate,  <F7  s>mear,
  1299.      and  <F7 r>eplicate. <Ctrl-m> is very use-
  1300.      ful in painting odd  shaped  objects  with
  1301.      complex  patterns. See Examples in earlier
  1302.      section for tips on using it.
  1303.  
  1304.      Music See Play
  1305.  
  1306.      Old <F1 Ctrl-z o>, <F6 o>, <F6 O>, <F7 o>,
  1307.      <F7  O>,  <F8 o>, <F8 O>, <F8 Ctrl-o>, <F8
  1308.      Alt-o> Previously saved  vectors,  objects
  1309.      and  screens  can  be  retrieved with old.
  1310.      Primarily for slide  show  use  text  mode
  1311.      screens  can  be called into view with <F1
  1312.      Ctrl-z o>. In F6, vectors drawn with  line
  1313.      and  saved  with  <E>nd  can  be called up
  1314.      later for use. Any angle may be  specified
  1315.      as  may any scale. A <ENTER> will take the
  1316.      rotation as drawn and will fit  the  scale
  1317.      of  the vector to the scale of the current
  1318.      drawing. <O> takes  the  last  vector  and
  1319.      allows   the  rotation  and  scale  to  be
  1320.      changed. After setting the scale the  vec-
  1321.  
  1322.                               DEFINITIONS 10-27
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.   tor object can be moved across the  screen
  1329.   and  left in position with <F7 M>. Objects
  1330.   that  where  saved  with  <F7  C>  can  be
  1331.   recalled  with <F7 o>. They will appear at
  1332.   the same size as drawn and so may  be  out
  1333.   of  scale.  <F8  o>  is  used  to retrieve
  1334.   entire screens saved in <F8> or  saved  in
  1335.   some other program. If a DAT file accompa-
  1336.   nies the drawing the scale will be changed
  1337.   accordingly.  To sequentially bring in the
  1338.   screens from disk use <F8 O> and <PgDn> to
  1339.   page   through  the  screens.  Select  the
  1340.   screen you want with  <ENTER>.  This  make
  1341.   finding  a  screen very easy. See Template
  1342.   for  information  on  <F8   Ctrl-o>.   <F8
  1343.   Alt-o> can be used in slide show macros to
  1344.   display the screens in one of  five  meth-
  1345.   ods.  (See  Display)  When  loading an old
  1346.   screen it is often desirable to  see  what
  1347.   is  on  the  disk.  Version 3.33 and older
  1348.   provide directory information for a  given
  1349.   file  type  by entering a drive letter and
  1350.   <ENTER>. Version 3.50 adds the  capability
  1351.   to  directly import the file name into the
  1352.   command line by selecting  <Up  Arrow>  or
  1353.   <Down Arrow> when asked for the File Name.
  1354.  
  1355.   Origin  <Ctrl-x>  The normal screen origin
  1356.   is the top left corner. This is where both
  1357.   x  and y are zero in SCreen 1 PaGe 00. The
  1358.   origin can be moved  to  any  location  by
  1359.   positioning the cursor to the desired ori-
  1360.   gin and selecting <Ctrl-x>. This is can be
  1361.   very helpful for mechanical drawing.
  1362.  
  1363.   Outline  <F2 o> objects can be outlined in
  1364.   the color set by F10. Outline searches for
  1365.   the  change  between  the background color
  1366.   and the other colors and draws a  line  at
  1367.   the edge.
  1368.  
  1369.  
  1370.  
  1371.   DEFINITIONS 10-28
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.      Page  <Ctrl-Home>  64  pages are available
  1378.      for SCreen 1. Select <Ctrl-Home>  followed
  1379.      by the pan direction. <Down Arrow> scrolls
  1380.      the screen by 1/2 down. <Up Arrow> scrolls
  1381.      the   screen  by  1/2  up.  <Right  Arrow>
  1382.      scrolls the screen by 1/2  to  the  right.
  1383.      <Left  Arrow> scrolls the screen by 1/2 to
  1384.      the left. <PgUp> scrolls a full screen up.
  1385.      <PgDn>  scrolls a full screen down. <Home>
  1386.      returns to PaGe 00. <End> goes to the last
  1387.      screen  that  has  been created. Pages are
  1388.      stored in quarter screen files. To use all
  1389.      of  the files you must be operating from a
  1390.      subdirectory for the workspace. The  files
  1391.      are  created  on the disk only when a par-
  1392.      ticular page is  used.  <Ctrl-HOME>  twice
  1393.      returns  to  PaGe  00 without first saving
  1394.      the page you are on. Selecting  <?>,  <h>,
  1395.      or  <H>elp  when  asked  for PAN Direction
  1396.      will display a  map  of  the  64  screens,
  1397.      while  displaying the current location. At
  1398.      this point the cursor keys will  move  the
  1399.      display   box   around  as  desired  until
  1400.      <Enter> is  used  to  select.  <Esc>  will
  1401.      exit  back  to  page  you  where in before
  1402.      selecting <Ctrl-Home>.
  1403.  
  1404.      Paint <F5 p>, <F5 P>, <F5  Alt-p>  Objects
  1405.      can be painted with one of the four colors
  1406.      from the palette in the color mode or  one
  1407.      of  two  colors  in  high resolution using
  1408.      <p>. The border color and the  fill  color
  1409.      must  be  specified.  An  incorrect border
  1410.      color or gaps in the border will cause the
  1411.      paint  to  leak  out.  If this happens, be
  1412.      sure  to  respond  <n>o  to  the  "Correct
  1413.      (y/n)?"  prompt. <P> is identical in oper-
  1414.      ation to <p>, only it allows you to repeat
  1415.      the operation any number of times with the
  1416.      same  fill  and  border  color  simply  by
  1417.      selecting  <ENTER>.  29 colors/ shades can
  1418.      be used to paint with using <Alt-p>.
  1419.  
  1420.                               DEFINITIONS 10-29
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.   Paintbrush See Smear and Replicate for one
  1427.   type of  paintbrush.  Many  of  the  other
  1428.   functions  of PC-KEY-DRAW can also be used
  1429.   as a paintbrush by  properly  setting  the
  1430.   <B>ackground  so  that  when the object is
  1431.   moved around the screen an image  is  left
  1432.   behind in the color set by <B>ackground.
  1433.  
  1434.   Pan  <Ctrl-Home> SCreen 1 provides panning
  1435.   capability on an 8X8 page  layout.  Select
  1436.   <?>,  <h>, or <H> for help in panning. See
  1437.   PAGE.
  1438.  
  1439.   Parallel <F6  p>  Parallel  lines  can  be
  1440.   drawn at any angle by first marking one of
  1441.   the lines and then only  marking  one  end
  1442.   point  on all subsequent lines. Use <F6 e>
  1443.   to end the drawing of parallel  lines  and
  1444.   save the lines to the screen. All features
  1445.   of normal line drawing apply  to  parallel
  1446.   line drawing.
  1447.  
  1448.   PATH  Starting  with version 3.50, PC-KEY-
  1449.   DRAW will  recognize  subdirectories.  The
  1450.   subdirectories  for  the workspace and for
  1451.   completed drawings can be set in the  Sta-
  1452.   tus  Screen.  The drawing subdirectory can
  1453.   also be set in <F8 d>irectory or set  tem-
  1454.   porarily  for  a  given file when entering
  1455.   the File Name.  Since  subdirectory  names
  1456.   can  be  long  and cumbersome it is a good
  1457.   idea to use the SUBST command of  DOS.  If
  1458.   you  have  DOS  3.*  you can used SUBST to
  1459.   represent subdirectories, see the DOS man-
  1460.   ual.  Any  drive letter A-Z can be used to
  1461.   replace a long subdirectory specification.
  1462.   In  version  of  PC-KEY-DRAW prior to 3.50
  1463.   the SUBST command is the only way  to  use
  1464.   subdirectories.
  1465.  
  1466.  
  1467.  
  1468.  
  1469.   DEFINITIONS 10-30
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.      Patterns  <F5  f>,  <F5 Alt-f> 64 patterns
  1476.      are held in one pattern screen.  One  pat-
  1477.      tern  screen  is supplied with the PC-KEY-
  1478.      DRAW program disk, but you can  create  as
  1479.      many as you would like. Figure 10-10 shows
  1480.      the  patterns  of  KD-PTRN.PIC.  Some  are
  1481.      rather  useful,  while  others  are rather
  1482.      strange. Note the size and complexity that
  1483.      is  possible  with PC-KEY-DRAW as compared
  1484.      to other graphics programs.  Library  Disk
  1485.      #2   contains   nine   additional  pattern
  1486.      screens for a total of 640  patterns.  See
  1487.      section on Fill for how to use patterns.
  1488.  
  1489.      [pat1]
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.      Figure  10-10 KD-PTRN.PIC from the program
  1506.      disk. See Appendix H: for other patterns.
  1507.  
  1508.  
  1509.      Pause <Alt-p>, <F8  O  Alt-p>  Key  macros
  1510.      normally  play  back  at full speed. Occa-
  1511.      sionally it is  desirable  to  momentarily
  1512.      stop  the  execution  of  the macro with a
  1513.      pause statement. Set the number of seconds
  1514.      desired  to pause before continuing. Pause
  1515.      reads from the system clock  so  that  the
  1516.      pause time is independent of the computer.
  1517.  
  1518.                               DEFINITIONS 10-31
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.   PIC Extension used to  specify  format  of
  1525.   partial  screen  save  in  F7. This is the
  1526.   preferred extension  for  partial  screens
  1527.   since  it  uses  the  least amount of disk
  1528.   space and is therefore the default  exten-
  1529.   sion.  Screens  saved with a PIC extension
  1530.   can be called into  a  BASICA  program  by
  1531.   adding  the  following  lines to your pro-
  1532.   gram:
  1533.  
  1534.       0005 'Dimension array large enough  to
  1535.            handle image.
  1536.       0010 DIM ARRAY%(500)
  1537.       1000 'Find location of array
  1538.       1010 ALOC%=VARPTR(ARRAY%(0))
  1539.       1020 'Binary file load to array
  1540.       1030 BLOAD "FILENAME.PIC",ALOC%
  1541.       1040 'Put image onto graphics screen
  1542.       1050 PUT(0,0),ARRAY%
  1543.  
  1544.   To  save  an  image  in BASICA that can be
  1545.   called up in PC-KEY-DRAW add the following
  1546.   lines to your program:
  1547.  
  1548.       0005  'Dimension array large enough to
  1549.             handle image.
  1550.       0010 DIM ARRAY%(500)
  1551.       0900 'load image into array  with  the
  1552.            GET function
  1553.       0910 'See BASIC manual for info
  1554.       1000 XSIZ%=ARRAY%(0)
  1555.       1010 YSIZ%=ARRAY%(1)
  1556.       1020 N%=(4+((XSIZ%+7)\8)*YSIZ%)\2
  1557.       1030 'Find location of array
  1558.       1040 ALOC%=VARPTR(ARRAY%(0))
  1559.       1050 'Binary save of array
  1560.       1060 BSAVE "FILENAME.PIC",ALOC%,N%
  1561.  
  1562.   See BAS for an alternate way to include an
  1563.   image in a  BASICA  program  that  doesn't
  1564.   require  an  external file of the image to
  1565.   be on the disk with the program.
  1566.  
  1567.   DEFINITIONS 10-32
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.      Play <Ctrl-p> music can be played for  fun
  1574.      or  as  part  of a macro. The music syntax
  1575.      follows that of BASICA  exactly.  See  the
  1576.      BASICA manual for more information.
  1577.  
  1578.      Playback  <Alt-k  r>  Previously  recorded
  1579.      keyboard  sequences  can  be  played  back
  1580.      (<r>un)  from  disk. See Key Macro. If you
  1581.      are creating a slide  show  to  play  back
  1582.      then  it  is  a  good  idea to disable the
  1583.      printing of the prompt line by setting <*>
  1584.      to  1 or 2 during recording. Higher values
  1585.      of <*> can be used to speed  up  playback,
  1586.      but  with  some lose of features. *|3 in a
  1587.      macro will speed up  circle,  sine,  rose,
  1588.      and  rectangle  by  not drawing the object
  1589.      until  the  final  size  is  reached.  *|4
  1590.      speeds  Fatbits  by  not  switching to the
  1591.      separate Fatbits screen  and  speeds  line
  1592.      drawing  by  not displaying the line as it
  1593.      is being positioned. * commands  are  best
  1594.      added  to  macros  with  a text editor and
  1595.      take effect absolutely, ie.  *|2  followed
  1596.      by *|1 results in the *|1 being the active
  1597.      level. This differs from  earlier  version
  1598.      where * commands where cumulative.
  1599.  
  1600.      Polar   Coordinates  The  cursor  position
  1601.      readout contains not  only  the  x  and  y
  1602.      positions,  but  the  distance to the last
  1603.      measure point and the angle to the  point,
  1604.      and  thus  provides  continuous display of
  1605.      polar coordinates with  cartesian  coordi-
  1606.      nates.
  1607.  
  1608.      Polygon  <F2  p>  Regular  polygons of any
  1609.      number of sides can be dynamically  drawn.
  1610.      The  polygon can be rotated as it is being
  1611.      drawn by using the <[>  and  <]>  keys  to
  1612.      rotate  at  angle  steps set by the cursor
  1613.      speed or <{>  and  <}>  to  rotate  in  90
  1614.      degree increments.
  1615.  
  1616.                               DEFINITIONS 10-33
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.   Print <F8 p> If  a  graphics  screen  dump
  1623.   program is loaded the screen can be dumped
  1624.   to a dot matrix printer using <PrtSc>. The
  1625.   print  routine  allows the 25th line to be
  1626.   positioned before printing with a title as
  1627.   desired. If you have an Okidata 92 be sure
  1628.   to set the configuration printer to 1. The
  1629.   Configuration  Screen  also  allows you to
  1630.   alter the printout  size  for  an  Okidata
  1631.   printer.
  1632.  
  1633.   Printer  Support  The zoom printer feature
  1634.   of PC-KEY-DRAW allows you to configure  it
  1635.   to  virtually  any  printer  that can take
  1636.   continuous paper. Single sheet printing is
  1637.   currently  limited to most Okidata 92, 93s
  1638.   or Epson/IBM graphics compatibles. If  you
  1639.   would  like to donate a printer to OEDWARE
  1640.   we would be happy to write a driver to  go
  1641.   with   the  program  for  that  particular
  1642.   printer.
  1643.  
  1644.   Quality <Q> <Alt-q>  The  quality  of  the
  1645.   cursor movement can be toggled with <Q>. A
  1646.   "Q" will appear on the prompt  line  indi-
  1647.   cating that the quality is turned on. With
  1648.   the quality turned off  the  cursor  moves
  1649.   quicker  by  skipping  an occasional step.
  1650.   With the  quality  turned  on  the  cursor
  1651.   moves  slightly  slower, but does not skip
  1652.   steps. When the key board macro is set the
  1653.   quality  is automatically turned on. If it
  1654.   is turned backed off during recording  the
  1655.   playback  of the macro will not faithfully
  1656.   reproduce the original. The <Q>uality com-
  1657.   mand  also effects the way a mouse or joy-
  1658.   stick behave. Generally the mouse and joy-
  1659.   stick  "feel"  the best when the <Q>uality
  1660.   is  off.  During  macro  recording,   with
  1661.   quality  on  the mouse and joystick motion
  1662.   is converted to  equivalent  key  strokes,
  1663.   which slows down the cursor movement. When
  1664.  
  1665.   DEFINITIONS 10-34
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.      using PC-KEY-DRAW as a paint  program  the
  1672.      cursor  position readout can be turned off
  1673.      with <Alt-q>. Use  <Alt-q>  to  toggle  it
  1674.      back  on.  Note  that  the cursor speed is
  1675.      greatly increased with the readout off.
  1676.  
  1677.      RAM disk PC-KEY-DRAW is  written  to  make
  1678.      significant  use  of a RAM disk. A 40K RAM
  1679.      disk is the smallest  that  can  be  used,
  1680.      while  the  maximum is over 1Meg! Some may
  1681.      be wondering how such a large RAM disk  is
  1682.      possible  with  a  standard PC. I strongly
  1683.      recommend the use of  an  extended  memory
  1684.      card such as the JRAM-2 by Tall Tree Asso-
  1685.      ciates which allows up to 2megs per expan-
  1686.      sion  slot.  A RAM disk is not only useful
  1687.      for this program, but you will  find  many
  1688.      other uses. Minimum PC RAM should be about
  1689.      2Megs for maximum use of your machine.
  1690.  
  1691.      Recording <Alt-k c> Every key  stroke  hit
  1692.      can  be  recorded  and  saved  to an ASCII
  1693.      sequential  file  for  later  playback  by
  1694.      using  the <c>reate command. See Key Macro
  1695.      for more information.
  1696.  
  1697.      Registration Registered users get support,
  1698.      low  cost  updates,  printed manual, extra
  1699.      library disks, support programs and a good
  1700.      feeling. See Shareware.
  1701.  
  1702.      Rename  <F8  K> disk files can be renamed.
  1703.      Enter the file to be renamed and  the  new
  1704.      name of the file. Include the drive of the
  1705.      file. It is not possible to  rename  to  a
  1706.      different disk.
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.                               DEFINITIONS 10-35
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.   Replicate <F7 r>, <F7 R>, <F7 Ctrl-r>, <F7
  1721.   Alt-r>  Once an object is copied it can be
  1722.   moved and replicated. Each  touch  of  the
  1723.   cursor  will  step  the size of the object
  1724.   until moved with <F7 M>. This can be  used
  1725.   for  a variety of applications. The syntax
  1726.   of replicate is  the  same  as  smear  and
  1727.   move.
  1728.  
  1729.   Resolution  Set <Alt-r> The screen resolu-
  1730.   tion can be set to 640X200. Use <Shft-Tab>
  1731.   to  toggle  between  640X200  and 320X200.
  1732.   See Mode.
  1733.  
  1734.   Retrieve file See Old.
  1735.  
  1736.   Revolve <F1 R> Three dimensional appearing
  1737.   objects can be created as objects of revo-
  1738.   lution by first drawing the cross  section
  1739.   then  revolving  it.  User  sets number of
  1740.   steps and view angle. This can be  a  very
  1741.   powerful   command.   Figure  10-11  is  a
  1742.   Christmas card.  The  Christmas  tree  was
  1743.   created  by  drawing  one side of the tree
  1744.   outline and then by revolving the  outline
  1745.   about   the  center.  Figure  10-12  shows
  1746.   another sample of revolve.
  1747.  
  1748.       [xmas]
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.   Figure 10-11 Christmas card.
  1762.  
  1763.   DEFINITIONS 10-36
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.          [fairlead]
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.      Figure 10-12 Fairlead created by revolving
  1782.      part of a circle.
  1783.  
  1784.  
  1785.      Reverse video See Video.
  1786.  
  1787.      Rose  curves  <F3  r> Sine and cosine rose
  1788.      curves of any number of leaves  are  drawn
  1789.      to size of circle set with cursors.
  1790.  
  1791.      Rotate  <F1  r>,  <F1 Alt-r>, <F1 Ctrl-r>,
  1792.      <F6 o>,  <F6  O>,  <F1  a>,  <F1  A>,  <F1
  1793.      Ctrl-a>,  <F1  Alt-a>,  <[>, <]>, <{>, <}>
  1794.      can be used to rotate any  object  on  the
  1795.      screen.  The object may be rotated once or
  1796.      a multiple of times  (steps).  *C*-In  the
  1797.      color  mode  <r> will rotate only the cur-
  1798.      rent active color as  selected  by  <F10>,
  1799.      while   <Alt-r>  will  rotate  all  colors
  1800.      within the  defined  region.  <F1  Ctrl-r>
  1801.      will rotate the entire left portion of the
  1802.      screen 90 degrees. Use <F1 a> to rotate an
  1803.      object  again,  without  redefining it. If
  1804.      the object was first rotate with all color
  1805.      (<F1  Alt-r>) then all colors will be used
  1806.      in the again rotate otherwise  the  active
  1807.      color selected with <F10> determines which
  1808.      color is used. <F1 Alt-a> will rotate  the
  1809.      object  that  was just zoomed. <F1 A> will
  1810.      rotate and zoom the  object  at  the  same
  1811.  
  1812.                               DEFINITIONS 10-37
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.   time. <F1 Ctrl-a> will rotate again  after
  1819.   switching  from all color rotate to single
  1820.   color rotate or vice versa. In  F6  vector
  1821.   objects  can  be  created and saved. Using
  1822.   <F6 o> or <F6 O> they can be  called  back
  1823.   and  rotated  to any angle. <[>, <]>, <{>,
  1824.   and <}> can be used to rotate  the  cursor
  1825.   position  about  the  <m>easure point. See
  1826.   Angle for more information.
  1827.  
  1828.   Save <F6 E>, <F7 Ctrl-e> <F7  C>,  <F8  s>
  1829.   There  are  five  different  ways  to save
  1830.   objects and screens.  <F6  E>nds  &  saves
  1831.   objects  drawn  with line as vectors (VCT)
  1832.   to the disk for  later  use.  <F6  Ctrl-e>
  1833.   saves  a  previously  created line. <F7 C>
  1834.   saves objects or  entire  screens  to  the
  1835.   disk  in  one  of three ways. See Copy for
  1836.   use. <F8 s> is the common way  to  save  a
  1837.   complete screen for later use. The screens
  1838.   are  given  a  SCN   extension   and   are
  1839.   retrieved  with  <F8  o>. A second file is
  1840.   saved with a screen that gives  its  scal-
  1841.   ing,  if other then the default, and has a
  1842.   DAT extension. Each  screen,  page,  layer
  1843.   must be saved independently.
  1844.  
  1845.   Scale  <Alt-m> The scale of the drawing is
  1846.   normally set when the program  is  entered
  1847.   or  following a fresh screen. When setting
  1848.   the scale on entering PC-KEY-DRAW or after
  1849.   a  fresh screen, you should set the effec-
  1850.   tive size of the screen,  not  the  actual
  1851.   size  of the screen, ie. you might set the
  1852.   screen to 40 ft. to draw a house,  20  in.
  1853.   to  draw a small part, or 50 miles to draw
  1854.   a map. The scale can also be set by match-
  1855.   ing  a measured distance to a desired dis-
  1856.   tance. Select <m> at one point, move  cur-
  1857.   sor  to  desired  position, select <Alt-m>
  1858.   and enter in the desired value of the dis-
  1859.   tance.
  1860.  
  1861.   DEFINITIONS 10-38
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.      Scale  Factor  <F1 z>, <F1 Z>, <F1 Alt-z>,
  1868.      <F6 o>, <F6 O> When zooming you must enter
  1869.      the  scale  factor. A scale factor greater
  1870.      than 1 shrinks the object or screen, while
  1871.      a  scale  factor  less  then 1 expands the
  1872.      screen. Select </>, <Space Bar>, or second
  1873.      mouse  button  to  enter  the  zoom factor
  1874.      instead of the scale factor.
  1875.  
  1876.      SCN Screen-see Save and Old. This  is  the
  1877.      default  extension  and  indicates  a full
  1878.      graphics screen save. This  is  compatible
  1879.      with screens saved in BASICA using a BSAVE
  1880.      command. To call a screen into BASICA that
  1881.      was  saved  with  <F8 s> add the following
  1882.      lines to your BASICA program:
  1883.  
  1884.          0010 'set screen to graphics mode
  1885.          1000 'set segment  to  color  graphics
  1886.               screen memory
  1887.          1010 DEF SEG=&HB800
  1888.          1015 'Binary image load
  1889.          1020 BLOAD "FILENAME.SCN",0
  1890.          1025 'Return segment
  1891.          1030 DEF SEG
  1892.  
  1893.      To  save  a  screen  in BASICA that can be
  1894.      later called into PC-KEY-DRAW add the fol-
  1895.      lowing lines to your BASICA program:
  1896.  
  1897.          1000 'with drawing on screen
  1898.          1010 DEF SEG=&HB800
  1899.          1020 BSAVE "FILENAME.SCN",0,16384
  1900.          1030 DEF SEG
  1901.  
  1902.      See  BAS for an alternate way of including
  1903.      a screen image in a BASICA program.
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.                               DEFINITIONS 10-39
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.   Screen   <Ctrl-Home>,  <Ctrl-End>,  <Ctrl-
  1917.   PgUp>, <Ctrl-PgDn>  Multiple  screens  are
  1918.   available.   They  can  be  used  to  draw
  1919.   objects larger than the screen or  to  use
  1920.   as  temporary  workspaces.  There  are two
  1921.   primary screens and two secondary screens.
  1922.   The  primary  screens  are "connected" and
  1923.   can  be  scrolled  using  <Ctrl-PgUp>  and
  1924.   <Ctrl-PgDn>  in quarter screen increments.
  1925.   <Ctrl-Home> and <Ctrl-End> toggle  between
  1926.   the  two  screens.  The last object copied
  1927.   can be viewed on SCreen  F7  by  selecting
  1928.   <Ctrl-PgDn>  from SCreen 2. <F1 Z>oom will
  1929.   not change the drawing scale  if  used  in
  1930.   SCreen  F7. The 25th line or title line is
  1931.   available to  be  viewed  or  modified  by
  1932.   selecting   <Ctrl-PgDn>   one  more  time.
  1933.   SCreen 1 can actually be one of 64 differ-
  1934.   ent  pages.  The extra pages are stored on
  1935.   the workspace disk. Pages  are  stored  in
  1936.   quarter  screen blocks allowing horizontal
  1937.   and vertical scrolling. 1 megabyte of disk
  1938.   is  needed to use a full 64 pages and this
  1939.   is where a RAM disk can  really  pay  off.
  1940.   You  should  set up a subdirectory for the
  1941.   workspace.
  1942.  
  1943.   Screen Aspect Ratio <$> The screen  aspect
  1944.   ratio  can  be  varied  for  a  variety of
  1945.   results. The main use of the  setting  the
  1946.   aspect ratio is to get a circle that looks
  1947.   round on your monitor or you may  want  to
  1948.   adjust the aspect ratio so that the screen
  1949.   dump is round. <r>otation  and  <Z>oom  of
  1950.   <F1>  are  cleanest  if an aspect ratio of
  1951.   1.0 in color or 2.0 in high resolution  is
  1952.   used.
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.   DEFINITIONS 10-40
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.      Shade  <F2 s>, <F2 S>, <F4 l>, <F4 m>, <F4
  1966.      d>, <F4 s>, <F4 Alt-s> Various methods  of
  1967.      shading  the  drawing  are available. <F2>
  1968.      <s> or <S> produces a rectangular  pattern
  1969.      (see  Box).  <F4>  will  fill an irregular
  1970.      area with dots of the color set by  <F10>.
  1971.      It  may  take several times to fill a very
  1972.      irregular area. <F4 s> spray  paints  (see
  1973.      Spray paint).
  1974.  
  1975.      Shareware  is  the  form  of  distribution
  1976.      being used with PC-KEY-DRAW. Shareware  is
  1977.      commercial  software  with  a  difference.
  1978.      Shareware can be legally copied and shared
  1979.      with others, provided it is distributed in
  1980.      its entirety and not modified. Users  that
  1981.      find  the program to be of use to them are
  1982.      requested to register.  Registration  pro-
  1983.      vides  many  benefits  to the user. If you
  1984.      register PC-KEY-DRAW you will receive:
  1985.  
  1986.        .  Printed  Users  Manual  in  IBM  size
  1987.          binder with information on getting the
  1988.          most out  of  PC-KEY-DRAW,  (it  looks
  1989.          nice on your shelve too).
  1990.        .  Second  library disk (see Appendix H)
  1991.          with  640+  fill   patterns,   several
  1992.          library  pictures and many very useful
  1993.          macros.
  1994.        . Third library disk with 14 extra fonts
  1995.          and text oriented macros.
  1996.        .  Fourth  library  disk with more fonts
  1997.          and flow chart symbols.
  1998.        . HP LaserJet printer support.
  1999.        . Registered version of the program with
  2000.          name in the program code.
  2001.        .  Telephone  or  mail  support when you
  2002.          need help, for one year  after  regis-
  2003.          tration.  Phone  support  is available
  2004.          from 8:00 am to 9:00 pm seven  days  a
  2005.          week.
  2006.  
  2007.  
  2008.                               DEFINITIONS 10-41
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.     . Notification of updates and the  abil-
  2015.       ity  to  update  for  only $10 for the
  2016.       l a t e s t                  d i s k .
  2017.  
  2018.   Registration helps you in other ways:
  2019.  
  2020.     .  You are supporting the shareware con-
  2021.       cept.
  2022.       1. You can try the software before you
  2023.          buy it.
  2024.       2.  You pay a reasonable price for you
  2025.          software.
  2026.       3. You avoid the frustration  of  copy
  2027.          protection.
  2028.       4.  You  encourage  others  to develop
  2029.          shareware.
  2030.     . You are also  supporting  new  OEDWARE
  2031.       developments.   PC-KEY-DRAW   is  con-
  2032.       stantly being improved,  your  support
  2033.       is needed and appreciated.
  2034.  
  2035.       [share]
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.   Figure   10-13   Like  public  television,
  2048.   shareware is supported by those  who  find
  2049.   it valuable.
  2050.  
  2051.  
  2052.   Shift  <F5  s>  The  foreground colors are
  2053.   each shifted up by one. The background  is
  2054.   not  affected.  Shift  works on the entire
  2055.   screen.
  2056.  
  2057.   DEFINITIONS 10-42
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.      Shift Cursor Using the <Shift>  key  while
  2064.      drawing  rectangles  allow you to move the
  2065.      fixed corner. If the <Shift> key  is  used
  2066.      while drawing circles or ellipses the cen-
  2067.      ter of the circle is moved.  <Shift>  used
  2068.      with a joystick or mouse works the same as
  2069.      with the keyboard allowing the fixed point
  2070.      to be moved.
  2071.  
  2072.      Show  <s>,  <S> The cursor and prompt line
  2073.      can be removed from the screen.  This  can
  2074.      be used when taking pictures of the screen
  2075.      with a 35mm camera.  Selecting  <s>  shows
  2076.      only  the  active  screen, while <S> shows
  2077.      both the active screen and a visual  layer
  2078.      if  layering is turned on. If show is used
  2079.      as part of a macro the  macro  will  pause
  2080.      indefinitely  until  a  key is hit. During
  2081.      macro execution a "_" will appear  in  the
  2082.      bottom right corner of the screen indicat-
  2083.      ing that the macro is waiting for a key to
  2084.      be hit.
  2085.  
  2086.      Sine   curve  <F3  t>  Trigonometric  sine
  2087.      curves of desired period and amplitude are
  2088.      shaped by moving the cursor.
  2089.  
  2090.      Slide   <F1   s>,   <F1  S>,  <F1  Ctrl-s>
  2091.      <s>-slides an area of  the  screen  either
  2092.      horizontally  or  vertically. This is very
  2093.      useful for creating a variety of  effects,
  2094.      including  italics  (use  a step of 15 for
  2095.      italics). <S> slides  the  entire  screen.
  2096.      <Ctrl-s>  slides  the entire screen to the
  2097.      power set, either 2,3, or 4.
  2098.  
  2099.      Slide Show The key macro  command  can  be
  2100.      used  to create a very powerful slide show
  2101.      quickly and  easily.  See  Key  Macro  for
  2102.      details.
  2103.  
  2104.  
  2105.  
  2106.                               DEFINITIONS 10-43
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.   Smear <F7 s>, <F7  S>,  <F7  Ctrl-s>,  <F7
  2113.   Alt-s> Previously copied or erased objects
  2114.   can be smeared across the screen in one of
  2115.   four   syntaxes.  Among  other  uses  this
  2116.   allows the creation  of  a  paintbrush  of
  2117.   sorts.  The  cursor  speed  determines the
  2118.   step of  the  smear.  Like  replicate  the
  2119.   smear  will  continue  until the object is
  2120.   moved with <F7 M>.
  2121.  
  2122.   Speed <F9>, <+>, <-> Cursor  speed,  smear
  2123.   size,  and  animation speed are controlled
  2124.   by <F9>.  The  speed  is  can  be  toggled
  2125.   between  one  for  fine  movement  and any
  2126.   value as set by  using  the  <+>  and  <->
  2127.   keys.  Cursor  speed  is  displayed on the
  2128.   prompt line. The speed can be forced to  1
  2129.   using <Shft-F9>, no matter what it is cur-
  2130.   rently. This is useful in creating certain
  2131.   key macros.
  2132.  
  2133.   Spirals <F3 s> Automatic spiral generation
  2134.   is possible using <F3 s>  by  marking  the
  2135.   center  and the size of the first coil and
  2136.   then the number.
  2137.  
  2138.   Spoke <F6 s> Spoked lines  from  a  common
  2139.   center can be generated quickly, since the
  2140.   center is only marked once.  Spoked  lines
  2141.   can  be combined with lines, dots and par-
  2142.   allel lines. Use <F6  e>  to  end  drawing
  2143.   spoked lines.
  2144.  
  2145.   Spray  paint <F4 s>, <F4 Alt-s> Previously
  2146.   drawn  and  painted  areas  can  be  spray
  2147.   painted  to  produce 3D type shading. With
  2148.   the screen aspect ratio set to its  normal
  2149.   values  the  spray painting will produce a
  2150.   circular pattern. If <$> is  selected  and
  2151.   set to 0 (zero) the spraying directive can
  2152.   be used to shade a vertical column. Figure
  2153.   10-14  was  created  in  a short period of
  2154.  
  2155.   DEFINITIONS 10-44
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.      time by  making  extensive  use  of  spray
  2162.      paint.  Setting  the  background  color to
  2163.      something other than 0 can be very  useful
  2164.      and effective when used with spray paint.
  2165.  
  2166.         [joes]
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.      Figure  10-14  Eat at Joes is an Ed Kidera
  2180.      original created  with  extensive  use  of
  2181.      spray paint.
  2182.  
  2183.  
  2184.      Status  <Ctrl-s>  See  Configure  for more
  2185.      information.
  2186.  
  2187.      Strip <F5 S> All of the foreground colors,
  2188.      except the one set by <F10> are set to the
  2189.      background. This can be useful for  print-
  2190.      ing  or  photographing the screen. Be sure
  2191.      to save the screen before you strip it, if
  2192.      you want it back whole later.
  2193.  
  2194.      Subdirectories See PATH
  2195.  
  2196.      SUBST SUBST is a DOS 3.* command that pro-
  2197.      vides an ideal method  of  shortening  the
  2198.      subdirectory  strings  used on a hard disk
  2199.      by allowing a single drive letter to  rep-
  2200.      resent a the subdirectory string. See your
  2201.      DOS manual for information on its use. The
  2202.      following  line  in  an AUTOEXEC.BAT would
  2203.  
  2204.                               DEFINITIONS 10-45
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.   make  drive  G: represent the subdirectory
  2211.   \FILES\KEYDRAW  on  drive   C:   -   SUBST
  2212.   g:=c:\files\keydraw.  You  must  also have
  2213.   LASTDRIVE=Z in your CONFIG.SYS file.
  2214.  
  2215.   Suspend <Space Bar>  During  line  drawing
  2216.   and  cursor  drawing  under F6 it is often
  2217.   desirable to temporarily  suspend  drawing
  2218.   to  reposition  the cursor. Use the <Space
  2219.   Bar> or second mouse button to stop  draw-
  2220.   ing  and display the cursor. When ready to
  2221.   continue hit the <ENTER>.
  2222.  
  2223.   Template <F6 o>, <F7 o>, <F8  Ctrl-o>  See
  2224.   Old,  Lines,  Copy, and End for discussion
  2225.   on the use of vectors and figures for tem-
  2226.   plate purposes. <F8 Ctrl-o> allows another
  2227.   method  of  templating.  Previously  saved
  2228.   screens  of symbols can be called onto the
  2229.   screen with  template  in  much  the  same
  2230.   fashion  as  calling  old  screens. In the
  2231.   template mode the updating  of  the  work-
  2232.   space is disabled. Objects on the template
  2233.   can be manipulated at will and then copied
  2234.   and  moved  with  <F7>. Selecting <F8> <w>
  2235.   or <W> returns updating of  workspace.  If
  2236.   no name is specified for the template file
  2237.   the present screen or a fresh one  may  be
  2238.   used  to  create  part  of a drawing to be
  2239.   added to the working drawing.
  2240.  
  2241.   Text <F6 t>,  <F6  T>,  <F6  Ctrl-t>,  <F6
  2242.   Alt-t>  <t>  allows  text  to  be  entered
  2243.   directly on the drawing. <T> justifies the
  2244.   text  to  the  left, right, or center. <T>
  2245.   also allows ASCII text to be imported  and
  2246.   text  to be displayed up or down. <Ctrl-t>
  2247.   copies the text and  animates  it  to  aid
  2248.   placement  as  desired.  Two sizes of text
  2249.   are available directly for <t>,  <T>,  and
  2250.   <Ctrl-t>.  The  size  is determined by the
  2251.   screen mode. <Alt-t> allows  the  user  to
  2252.  
  2253.   DEFINITIONS 10-46
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.      write with bitmapped text fonts. Fonts can
  2260.      be created by the user using all  features
  2261.      of  the  program and saved with <F7 C>, by
  2262.      specifying a  "FNT"  ending  to  the  file
  2263.      name.  A  very  wide variety of text sizes
  2264.      and  forms  can  be  created  quickly  and
  2265.      easily  with <F1 z> and <F7> <c>, <S>, and
  2266.      <M>. Figure 10-15 shows a 3-D text created
  2267.      from a standard font.
  2268.  
  2269.          [3dtext]
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.      Figure 10-15 Title slide for presentation.
  2282.  
  2283.  
  2284.      Text  Scrolling  <F6 T L>, <F6 T R>, <F6 T
  2285.      C>, <F6 T A> When entering text it is pos-
  2286.      sible  to  have  the entire screen scroll.
  2287.      This is useful for slide show macros,  but
  2288.      not of much use for general drawing. <F6 T
  2289.      A> is useful for finding  the  part  of  a
  2290.      file  needed  and works very much like the
  2291.      TYPE command of DOS. Hit any key  to  stop
  2292.      the scrolling.
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.                               DEFINITIONS 10-47
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.   Time <Alt-t> the DOS time can be displayed
  2309.   on  the  screen  at  a specified location.
  2310.   Some operations may capture the time  into
  2311.   the  drawing.  This  is intended primarily
  2312.   for use in macros that are set to run con-
  2313.   tinuously in a store or at a show where it
  2314.   might be nice to keep the viewers informed
  2315.   of the time. (see also Date)
  2316.  
  2317.   Translation  Macro  files consist of a key
  2318.   stroke code followed by |  (vertical  bar)
  2319.   followed  by  the  number  of repetitions.
  2320.   While MaCRo files can be edited with  most
  2321.   word  processors  it  is  a  little tricky
  2322.   because key stroke codes are difficult  to
  2323.   read  and  interpret. KD-TRANS.EXE is pro-
  2324.   vided to translate a  MaCRo  file  into  a
  2325.   TeXT  file  where the key stroke codes are
  2326.   replaced with the actual name of the  key,
  2327.   such  as "RIGHT" for right cursor key. The
  2328.   resulting TeXT file is easily edited.  Use
  2329.   KD-TRANS.EXE  to  take  the  TeXT file and
  2330.   translate it back into a MaCRo file.  TeXT
  2331.   files  are  much  larger than MaCRo files.
  2332.   KEYTBL.DAT is used by  KD-TRANS.  See  KD-
  2333.   TRANS.EXE and MAKHOTLIB.EXE for additional
  2334.   information.
  2335.  
  2336.   Unfade  <F4  Ctrl-f>  Small  holes  in  an
  2337.   object  can be filled in with <F4 Ctrl-f>.
  2338.   The routine uses the surrounding colors to
  2339.   determine  the  appropriate  color to use.
  2340.   Unfade is  still  experimental  and  works
  2341.   best on simple rectangular objects.
  2342.  
  2343.   Up  <F6  T u> Runs text up vertically from
  2344.   the current cursor position.
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.   DEFINITIONS 10-48
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.      Update <u>, <U>  Updates  the  appropriate
  2358.      workspace  with  the  current  screen (see
  2359.      Workspace). Beware  that  <u>  updates  to
  2360.      SCreen  1  and <U> updates to SCreen 2, no
  2361.      matter what screen you are  currently  in.
  2362.      This  means  that the previous contents of
  2363.      the screen will be lost.
  2364.  
  2365.      Update Frequency  is  set  in  the  Status
  2366.      Screen  and determines how often the work-
  2367.      space will be  automatically  written  to.
  2368.      If the update frequency is set to zero the
  2369.      use of workspaces is  disabled.  Disabling
  2370.      the  workspace  is  ideal  for  slide show
  2371.      macros.
  2372.  
  2373.      VCT Vectors-see Lines.
  2374.  
  2375.      Video  <F1  v>,  <F1  V>,  <F1  Ctrl-v>  A
  2376.      reversed  video  image is produced. Useful
  2377.      in printing certain screens. The following
  2378.      table   indicates   how   the  colors  are
  2379.      switched.
  2380.  
  2381.           <v>         <V>        <Ctrl-v>
  2382.  
  2383.       0 becomes 3    0 becomes 1    0 becomes 2
  2384.       1 becomes 2    1 becomes 0    1 becomes 3
  2385.       2 becomes 1    2 becomes 3    2 becomes 0
  2386.       3 becomes 0    3 becomes 2    3 becomes 1
  2387.  
  2388.      Video Modes PC-KEY-DRAW currently operates
  2389.      in  the  two  graphic  video  modes of the
  2390.      Color Graphics Card (CGA). The  modes  are
  2391.      320X200  medium  resolution  with 4 colors
  2392.      and 640X200 high resolution with 2 colors.
  2393.      To  switch  modes use <Shft-Tab> to toggle
  2394.      between the modes or <Ctrl-r> to force the
  2395.      program  to  the  high resolution mode. To
  2396.      save high resolution as the  default  mode
  2397.      select: <Ctrl-r Ctrl-s Ctrl-s>
  2398.  
  2399.  
  2400.                               DEFINITIONS 10-49
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.   Video Object Reverse <v> During  animation
  2407.   selecting <v> will perform a reverse video
  2408.   on the animated object and  then  continue
  2409.   with the animation.
  2410.  
  2411.   Visual  Horizon  <Alt-v>  Sets  the lowest
  2412.   point on the screen that the cursor can be
  2413.   moved.  This  is most useful during anima-
  2414.   tion. The animated object can be  made  to
  2415.   disappear  behind  a screen object or rise
  2416.   up from behind the horizon.
  2417.  
  2418.   Visual Layer When using layers only one is
  2419.   active  but  many can be visual, ie can be
  2420.   seen while drawing on  the  active  layer.
  2421.   The  visual  layer  consists of all of the
  2422.   visual  layers  combined  into   one   and
  2423.   resides  in  SCreen  2. When layers are on
  2424.   SCreen 2 is laid over SCreen 1.
  2425.  
  2426.   Width  <w>  The  width  for  lines,  dots,
  2427.   boxes,  and circles can be set to any num-
  2428.   ber of pixels from 1 to 32. The width  can
  2429.   be  set  greater  than 32, but it won't be
  2430.   properly used by lines, but will  be  used
  2431.   by circles and rectangles.
  2432.  
  2433.   Workspace  <F8  w>,  <F8  W>  Two separate
  2434.   workspaces are available to  save  screens
  2435.   while  working  (see  Update).  <w> corre-
  2436.   sponds to screen #1 and <W> corresponds to
  2437.   screen #2. The workspace has several uses.
  2438.   Originally it  was  added  to  retain  the
  2439.   drawing  in the event of program crash and
  2440.   while that is no longer a concern, it  can
  2441.   be useful in the event of a power failure.
  2442.   The workspace can also be used  as  tempo-
  2443.   rary  storage.  This would let you back up
  2444.   in the event of a change of  mind  or  let
  2445.   you   preform  multiple  operations  on  a
  2446.   single screen. The workspace is stored  on
  2447.   the  drive  specified  in  the  Configura-
  2448.  
  2449.   DEFINITIONS 10-50
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.      tion/Status Screen. The program will peri-
  2456.      odically  save  to the workspace depending
  2457.      on the update frequency. The update can be
  2458.      forced  at any time, from the CURSOR MODE,
  2459.      with <u>pdate to take the screen  you  are
  2460.      looking  at  and  save  it as SCreen 1 and
  2461.      <U>pdate to take  the  visual  screen  and
  2462.      save  it  to  SCreen 2. WRKSPC1.SCN corre-
  2463.      sponds to SCreen 1, while WRKSPC2.SCN cor-
  2464.      responds to SCreen 2.
  2465.  
  2466.      XOR  <F1  Alt-v>  The entire screen can be
  2467.      XORed with a number from 1 to 255. An  XOR
  2468.      of  255  produces  a  reverse  video image
  2469.      (see Video). The  program  will  assign  a
  2470.      random  number  to  use  or  the  user may
  2471.      select any value between 1 and 255.
  2472.  
  2473.      Zoom <F1 z>, <F1 Z>, <F6 o>, <F6 O>  Sizes
  2474.      of objects can be changed in three differ-
  2475.      ent ways. <F1 z> is used to either enlarge
  2476.      or  shrink  a  defined object. <F1 Z> will
  2477.      reduce the entire screen by any amount  or
  2478.      expand  the top left corner of the screen.
  2479.      Screen scaling is changed accordingly,  if
  2480.      the  screen  is set to 1 or 2, but it will
  2481.      leave  the  present  scale  when  used  in
  2482.      SCreen F7. <F6 O>, <o> will allow a vector
  2483.      to be sized  to  fit  the  drawing  or  as
  2484.      desired  (see Old and Line). All three use
  2485.      the same convention of scaling.  A  number
  2486.      greater than one will shrink the object or
  2487.      screen. For example a factor of  two  will
  2488.      cut the object in half. A number less than
  2489.      one will  enlarge  objects.  Figure  10-16
  2490.      shows  the use of <Z>oom. The main drawing
  2491.      was first completed, then  zoomed  down  a
  2492.      factor of 4, and placed back on the screen
  2493.      to produce the painting on the fireplace.
  2494.  
  2495.  
  2496.  
  2497.  
  2498.                               DEFINITIONS 10-51
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.       [xmas]
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.   Figure 10-16 Christmas Card
  2518.  
  2519.  
  2520.   Zoom  Factor  <F1  z>, <F1 Z>, <F1 Alt-z>,
  2521.   <F6 o>, <F6 O> normally you are  asked  to
  2522.   enter  the  scale  factor when zooming. By
  2523.   selecting the </> or <Space Bar> or second
  2524.   mouse button you can specify the zoom fac-
  2525.   tor instead of the scale  factor.  A  zoom
  2526.   factor  greater than 1 enlarges the object
  2527.   or screen, while a zoom factor less then 1
  2528.   shrinks  the screen or object. For example
  2529.   a zoom factor of 2 would double  the  size
  2530.   of the object.
  2531.  
  2532.   Zoom  Print  <F8 P>, <F8 Ctrl-p>, <Ctrl-p>
  2533.   prints partial screens to a  printer.  <P>
  2534.   prints  the  entire screen to the printer.
  2535.   Printing is done  by  characters  and  not
  2536.   graphics  so  virtually any printer can be
  2537.   used, provided a printer  table  is  first
  2538.   created  for  that printer. The print size
  2539.   is set before printing to a number between
  2540.   1  and  41. Beware that the printed result
  2541.   can be very large. Start with low  numbers
  2542.   and  work your way up. This is very useful
  2543.   for printing banners and the like.
  2544.  
  2545.  
  2546.  
  2547.   DEFINITIONS 10-52
  2548.  
  2549.